<template>
	<view class="listauthor">
		<view class="listauthor-image">
			<image :src="item.avatar" mode="aspectFill"></image>
		</view>
		<view class="listauthor-content">
			<view class="listauthor-content_title">{{item.author_name}}</view>
			<view class="listauthor-content_des">
				<view class="listauthor-content_des-label">{{item.professional}}</view>
				<view class="listauthor-content_des-info">
					<text>发帖 {{item.article_ids.length}}</text>
					<text>粉丝 {{item.fans_count}}</text>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		props:{
			item:{
				type:Object,
				default(){
					return{}
				}
			}
		},
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss">
.listauthor{
	display: flex;
	padding:10px 0;
	margin:0 10px;
	border-radius: 5px;
	box-sizing: border-box;
	border-bottom:1px #f5f5f5 solid;
	
	.listauthor-image{
		flex-shrink: 0;
		height:40px;
		width:40px;
		border-radius: 5px;
		overflow: hidden;
		
		image{
			height:100%;
			width:100%;
		}
	}
	.listauthor-content{
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		padding-left:10px;
		width:100%;
		
		.listauthor-conter_title{
			position: relative;
			padding-right: 30px;
			font-size:14px;
			color:#333;
			font-weight: bold;
			line-height: 1.20;
		}
		.listauthor-content_des{
			display: flex;
			justify-content: space-between;
			font-size:12px;
			
			.listauthor-content_des-info{
				color:999;
				line-height:1.5;
				text:first-child{
					margin-right: 10px;
				}
			}
		}
	}
}
</style>
